package com.xqh.entity.ques;

import com.xqh.base.common.BaseEntity;

/**
 * 
 * @author leo
 * @date 2018-04-27 14:52:42
 * @version 1.0.0
 * @copyright www.vip-young.com
 */
public class KnowledgePoint extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 名称.
     */
    private String name;

    /**
     * 编码.
     */
    private String code;

    /**
     * 父编码.
     */
    private String parentCode;

    /**
     * 长编码.
     */
    private String longCode;

    /**
     * 级别.
     */
    private Integer level;

    /**
     * 绑定哪个单元.
     */
    private String unitCode;

    /**
     * 
     * {@linkplain #name}
     *
     * @return the value of t_knowledge_point.name
     */
    public String getName() {
        return name;
    }

    /**
     * {@linkplain #name}
     * @param name the value for t_knowledge_point.name
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 
     * {@linkplain #code}
     *
     * @return the value of t_knowledge_point.code
     */
    public String getCode() {
        return code;
    }

    /**
     * {@linkplain #code}
     * @param code the value for t_knowledge_point.code
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * 
     * {@linkplain #parentCode}
     *
     * @return the value of t_knowledge_point.parent_code
     */
    public String getParentCode() {
        return parentCode;
    }

    /**
     * {@linkplain #parentCode}
     * @param parentCode the value for t_knowledge_point.parent_code
     */
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode == null ? null : parentCode.trim();
    }

    /**
     * 
     * {@linkplain #longCode}
     *
     * @return the value of t_knowledge_point.long_code
     */
    public String getLongCode() {
        return longCode;
    }

    /**
     * {@linkplain #longCode}
     * @param longCode the value for t_knowledge_point.long_code
     */
    public void setLongCode(String longCode) {
        this.longCode = longCode == null ? null : longCode.trim();
    }

    /**
     * 
     * {@linkplain #level}
     *
     * @return the value of t_knowledge_point.level
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * {@linkplain #level}
     * @param level the value for t_knowledge_point.level
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * 
     * {@linkplain #unitCode}
     *
     * @return the value of t_knowledge_point.unit_code
     */
    public String getUnitCode() {
        return unitCode;
    }

    /**
     * {@linkplain #unitCode}
     * @param unitCode the value for t_knowledge_point.unit_code
     */
    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode == null ? null : unitCode.trim();
    }
}